package cn.gailvlun.gll.net.emotion;



@Deprecated
public class EmotionSquareReq {
    private Integer id;
    private EmotionEnum emotion = EmotionEnum.S;
    private String direction = "next";
    private boolean isLoadMore = false;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public EmotionEnum getEmotion() {
        return emotion;
    }

    public void setEmotion(EmotionEnum emotion) {
        this.emotion = emotion;
        setLoadMore(false);
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public boolean isLoadMore() {
        return isLoadMore;
    }

    public void setLoadMore(boolean loadMore) {
        isLoadMore = loadMore;
        if (!loadMore) id = null;
    }

}
